package com.bwie.service;

import com.bwie.common.domain.request.LoginUserRequest;
import com.bwie.common.domain.response.JwtResponse;

import javax.validation.Valid;

/**
 * @author liuwenliang
 * @version 1.0
 * @date 2025/9/9
 */
public interface UserAuthService {
    /**
     * 登录
     * @param loginUserRequest
     * @return token信息
     */
    JwtResponse login(@Valid LoginUserRequest loginUserRequest);

    /**
     * 发送验证码
     * @param phone 手机号
     * @return 是否发送成功
     */
    void sendCode(String phone);
}
